Method for performing communication service by using plurality of modems

ABSTRACT

A first modem performs a first communication service in a first frequency band. A second modem performs a second communication service in a second frequency band. The first modem and the second modem are in a first operating mode. The first modem receives, from an access network device, a switching instruction for the first communication service, where the switching instruction is used to instruct the first modem to switch from the first frequency band to a third frequency band. The first modem indicates to an arbitration apparatus that the first modem needs to be switched to the third frequency band. The arbitration apparatus determines whether the third frequency band conflicts with the second frequency band, to perform: maintaining the first operating mode, or switching the first operating mode to a second operating mode for the first modem and the second modem.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No.PCT/CN2018/093574, filed on Jun. 29, 2018, the disclosure of which ishereby incorporated by reference in its entirety.

TECHNICAL FIELD

This application relates to the communications field, and in particular,to a method and an apparatus for performing a communication service byusing a plurality of modems.

BACKGROUND

In real life, a growing quantity of users have more than one phonenumber. Terminal manufacturers launch dual-SIM terminals according torequirements of users, so that users can insert two subscriber identitymodules (SIMS) from a same operator or different operators into a sameterminal, and the two SIMS can be in a standby state at the same time.

Current terminal products may be classified into two types: dual SIMdual active products and dual SIM dual standby products. For a dual SIMdual active (DSDA) product, services on two SIMs can be performed at thesame time. The services on the two SIMS are performed independently anddo not affect each other. For a dual SIM dual standby (DSDS) product,due to a conflict between services on two SIMs at a radio frequencyfront end, the services on the two SIMS are performed in sequence. Inother words, the services on the two SIMs are not performed at the sametime due to the conflict. In a case of a conflict between the serviceson the two SIMs, the arbitration apparatus performs service preemptionbased on priorities of the services. A high-priority service may preempta low-priority service, and the low-priority service can be performedonly after the high-priority service ends. The current priorities of theservices are as follows: a priority of a voice service>a priority of adata service.

Compared with the dual SIM dual standby product, the dual SIM dualactive product has an advantage in services and user experience, but hasa disadvantage in product costs. As shown in FIG. 1, FIG. 1 is astructural diagram of a dual SIM dual active system. FIG. 1 may include:a SIM 1, a SIM 2, a MODEM 1, a MODEM 2, a radio frequency integratedcircuit RFIC 1, an RFIC 2, a radio frequency front end 1, and a radiofrequency front end 2. The radio frequency front end 1 includes devicessuch as a filter and a power amplifier. The radio frequency front end 2includes devices such as a filter and a power amplifier. As shown inFIG. 2, FIG. 2 is structural diagram of a dual SIM dual standby system.FIG. 2 may include: a SIM 1, a SIM 2, a MODEM 1, a MODEM 2, anarbitration apparatus, an RFIC, and a radio frequency front end. Theradio frequency front end includes devices such as a filter and a poweramplifier. It can be learned from the structural diagram of the dual SIMdual active system shown in FIG. 1 and the structural diagram of thedual SIM dual standby system shown in FIG. 2 that, the dual SIM dualactive system requires two basically same RFICs, radio frequency frontends, and antennas to ensure that the radio frequency front ends for theservices on the two SIMs do not conflict with each other. Therefore,compared with the dual SIM dual standby system, the dual SIM dual activesystem requires more radio frequency devices. In addition, a largercircuit board area needs to be occupied, posing a challenge to astructural design of a terminal product. In view of these factors, thedual SIM dual standby product has an advantage in costs.

A service procedure of the DSDS product is described as follows: On aterminal, a SIM card 1 of a user initiates a data service by using amodem MODEM 1. The MODEM 1 first applies to an arbitration apparatus fora data service resource. The arbitration apparatus determines whether ahigh-priority service is performed at this time; if no high-priorityservice is performed at this time, the arbitration apparatus returns anacknowledgment response to the MODEM 1. Then, the MODEM 1 starts toperform the data service. The service resource herein is a systemresource required for performing a related service, and includes but isnot limited to a radio frequency device, such as a radio frequency chip,a radio frequency front end device, or an antenna. A mobile terminatedvoice service is received or a mobile-originated voice service isinitiated by using a modem MODEM 2 on a SIM card 2, and the MODEM 2applies to the arbitration apparatus for a voice service resource. Thearbitration apparatus determines that a low-priority service is beingperformed by using MODEM 1, and then initiates a preemption request tothe MODEM 1. After the MODEM 1 releases the service resource such as aradio frequency front end, the arbitration apparatus returns anacknowledgment message to the MODEM 2. Then, the MODEM 2 starts toinitiate the voice service. After the voice service on the MODEM 2 ends,the arbitration apparatus is notified to release the service resource.The arbitration apparatus notifies the MODEM 1 that the service resourceof the MODEM 2 is unoccupied. After receiving the notification that theresource of the MODEM 2 is released, the MODEM 1 re-initiates a dataservice procedure.

It can be learned from the foregoing process, in a DSDS technology, whenthe data service of the MODEM 1 is preempted, the data service of theMODEM 1 is interrupted. In addition, when the voice service of the MODEM1 is preempted, the MODEM 1 cannot receive or answer a call for a mobileterminated service. Consequently, the mobile terminated service isaffected. Therefore, although the DSDS technology reduces costs, productperformance deteriorates and the service resource is not fully utilized.In addition to a dual SIM application scenario, in other dual-MODEMoperating scenarios, how to coordinate the dual MODEMs to improveservice resource utilization becomes a problem.

SUMMARY

Embodiments of this application provide a method and an apparatus forperforming a communication service by using a plurality of modems, toimprove service resource utilization.

According to a first aspect of the embodiments of this application, amethod for performing a communication service by using a plurality ofmodems is provided, and the method may include: A first modem MODEM 1performs a first communication service in a first frequency band. Asecond modem MODEM 2 performs a second communication service in a secondfrequency band. The MODEM 1 and the MODEM 2 are in a first operatingmode. A terminal moves, and then the MODEM 1 receives, from an accessnetwork device, a switching instruction for the first communicationservice, where the switching instruction is used to instruct the MODEM 1to switch from the first frequency band to a third frequency band. Forexample, the access network device herein may include an evolved NodeB,a macro base station, a micro base station, a picocell base station, anaccess point, a transmission point, or the like. The MODEM 1 indicatesto an arbitration apparatus that the MODEM 1 needs to be switched to thethird frequency band. The arbitration apparatus determines whether thethird frequency band conflicts with the second frequency band, to obtaina determining result. The arbitration apparatus performs one of thefollowing operations based on the determining result: maintaining thefirst operating mode, or switching the first operating mode to a secondoperating mode for the MODEM 1 and the MODEM 2. One of the firstoperating mode and the second operating mode is a concurrent operatingmode, and the other is a non-concurrent operating mode. For example, theconcurrent operating mode may be a dual SIM dual active mode, and thenon-concurrent operating mode may be a dual SIM dual standby mode.

In this embodiment of this application, by using the foregoing technicalsolution, the first operating mode may be maintained, or the firstoperating mode may be switched to the second operating mode based onwhether frequency bands in which the MODEM 1 and the MODEM 2 performrespective services conflict. This improves service resourceutilization.

Optionally, in some embodiments of this application, the first operatingmode is the concurrent operating mode, the second operating mode is thenon-concurrent operating mode, and that the arbitration apparatusperforms one of following operations may include: when the determiningresult is that the third frequency band does not conflict with thesecond frequency band, the arbitration apparatus maintains the firstoperating mode. For example, when the third frequency band does notconflict with the second frequency band, the arbitration apparatus maymaintain the dual SIM dual active mode. In this embodiment of thisapplication, if the arbitration apparatus maintains the dual SIM dualactive mode, it indicates that the first communication service on theMODEM 1 and the communication service on the MODEM 2 may be concurrentlyperformed. This ensures normal execution of services on a plurality ofSIMS on the terminal and therefore improves user experience.

Optionally, in some embodiments of this application, that thearbitration apparatus performs one of the following operations mayfurther include: when the determining result is that the third frequencyband conflicts with the second frequency band, the arbitration apparatusswitches the first operating mode to the second operating mode for theMODEM 1 and the MODEM 2. For example, when the third frequency bandconflicts with the second frequency band, the arbitration apparatus mayswitch from the dual SIM dual active mode to the dual SIM dual standbymode. In this embodiment of this application, the arbitration apparatusdetermines that the third frequency band conflicts with the secondfrequency band. To ensure that a high-priority service can be performed,the arbitration apparatus may switch from the dual SIM dual active modeto the dual SIM dual standby mode. Then, the arbitration apparatusinitiates a preemption request based on priorities of the firstcommunication service and the second communication service, to ensureproper running of one communication service and improve service resourceutilization.

Optionally, in some embodiments of this application, the first operatingmode is the non-concurrent operating mode, the second operating mode isthe concurrent operating mode, and that the arbitration apparatusperforms one of the following operations may include: when thedetermining result is that the third frequency band does not conflictwith the second frequency band, the arbitration apparatus switches thefirst operating mode to the second operating mode for the MODEM 1 andthe MODEM 2. For example, when the third frequency band does notconflict with the second frequency band, the arbitration apparatus mayswitch from the dual SIM dual standby mode to the dual SIM dual activemode. In this embodiment of this application, if the arbitrationapparatus switches to the dual SIM dual active mode, it indicates thatthe first communication service on the MODEM 1 and the communicationservice on the MODEM 2 may be concurrently performed. This ensuresnormal execution of services on a plurality of SIMS on the terminal andtherefore improves user experience.

Optionally, in some embodiments of this application, that thearbitration apparatus performs one of the following operations mayfurther include: when the determining result is that the third frequencyband conflicts with the second frequency band, the arbitration apparatusmaintains the first operating mode. For example, when the thirdfrequency band conflicts with the second frequency band, the arbitrationapparatus may maintain the dual SIM dual standby mode. In thisembodiment of this application, the arbitration apparatus determinesthat the third frequency band conflicts with the second frequency band.To ensure that a high-priority service can be performed, the arbitrationapparatus initiates a preemption request based on priorities of thefirst communication service and the second communication service, toensure proper running of one communication service and improve serviceresource utilization.

Optionally, in some embodiments of this application, the determiningwhether the third frequency band conflicts with the second frequencyband may include: determining whether the third frequency band conflictswith the second frequency band according to a preset correspondencetable, where the correspondence table is used to indicate a frequencyband conflict status between the MODEM 1 and the MODEM 2. In thisembodiment of this application, a specific implementation in which thearbitration apparatus determines whether the third frequency bandconflicts with the second frequency band is provided, thereby improvingfeasibility of the solution.

Optionally, in some embodiments of this application, the frequency bandconflict status includes: at least one of conflict frequency bandinformation or non-conflict frequency band information of the MODEM 1and the MODEM 2. In this embodiment of this application, the frequencyband conflict status may include different possibilities, therebyincreasing optionality of the solution.

Optionally, in some embodiments of this application, the MODEM 1 and theMODEM 2 in the concurrent operating mode use respective serviceresources, that is, respective radio frequency devices. In thisembodiment of this application, the MODEM 1 and the MODEM 2 in theconcurrent operating mode use respective radio frequency devices. Thisensures that services can be normally performed on the MODEM 1 and theMODEM 2.

Optionally, in some embodiments of this application, one of the MODEM 1and the MODEM 2 uses a millimeter-wave radio frequency device, and theother uses a non-millimeter-wave radio frequency device.

Optionally, in some embodiments of this application, the MODEM 1 and theMODEM 2 in the non-concurrent operating mode use a same radio frequencydevice in a preemption manner.

According to a second aspect of the embodiments of this application, anapparatus for performing a communication service by using a plurality ofmodems is provided, and the apparatus may include a first modem MODEM 1,a second modem MODEM 2, and an arbitration apparatus. The MODEM 1 isconfigured to: perform a first communication service in a firstfrequency band; receive, from an access network device, a switchinginstruction for the first communication service, where the switchinginstruction is used to instruct the MODEM 1 to switch from the firstfrequency band to a third frequency band; and indicate to thearbitration apparatus that the MODEM 1 needs to be switched to the thirdfrequency band. The MODEM 2 is configured to perform a secondcommunication service in a second frequency band, where the MODEM 1 andthe MODEM 2 are in a first operating mode. The arbitration apparatus isconfigured to: determine whether the third frequency band conflicts withthe second frequency band, to obtain a determining result; and performone of following operations based on the determining result: maintainingthe first operating mode, or switching the first operating mode to asecond operating mode for the MODEM 1 and the MODEM 2, where one of thefirst operating mode and the second operating mode is a concurrentoperating mode, and the other is a non-concurrent operating mode.

Optionally, in some embodiments of this application, the first operatingmode is the concurrent operating mode, and the second operating mode isthe non-concurrent operating mode. The arbitration apparatus isconfigured to: when the determining result is that the third frequencyband does not conflict with the second frequency band, maintain thefirst operating mode.

Optionally, in some embodiments of this application, the arbitrationapparatus is further configured to: when the determining result is thatthe third frequency band conflicts with the second frequency band,switch the first operating mode to the second operating mode for theMODEM 1 and the MODEM 2.

Optionally, in some embodiments of this application, the first operatingmode is the non-concurrent operating mode, and the second operating modeis the concurrent operating mode. The arbitration apparatus isconfigured to: when the determining result is that the third frequencyband does not conflict with the second frequency band, switch the firstoperating mode to the second operating mode for the MODEM 1 and theMODEM 2.

Optionally, in some embodiments of this application, the arbitrationapparatus is further specifically configured to: when the determiningresult is that the third frequency band conflicts with the secondfrequency band, maintain the first operating mode.

Optionally, in some embodiments of this application, the apparatusfurther includes a memory. The memory is configured to store acorrespondence table, where the correspondence table is used to indicatea frequency band conflict status between the MODEM 1 and the MODEM 2.The arbitration apparatus is configured to determine whether the thirdfrequency band conflicts with the second frequency band according to thepreset correspondence table.

Optionally, in some embodiments of this application, the frequency bandconflict status includes: at least one of conflict frequency bandinformation or non-conflict frequency band information of the MODEM 1and the MODEM 2.

Optionally, in some embodiments of this application, the MODEM 1 and theMODEM 2 in the concurrent operating mode use respective radio frequencydevices.

Optionally, in some embodiments of this application, one of the MODEM 1and the MODEM 2 uses a millimeter-wave radio frequency device, and theother uses a non-millimeter-wave radio frequency device.

Optionally, in some embodiments of this application, the MODEM 1 and theMODEM 2 in the concurrent operating mode use a same radio frequencydevice in a preemption manner.

According to third aspect of the embodiments of this application, anapparatus for performing a communication service by using a plurality ofmodems is provided, and the apparatus includes a processor and a radiofrequency device. The processor performs software code instructions toimplement functions equivalent to those of the MODEM 1 module, the MODEM2 module, and the arbitration apparatus module in the first aspect. Inthe third aspect, the MODEM 1 module, the MODEM 2 module, and thearbitration apparatus module are modules formed by a part ofinstructions in the software code instructions. The processor mayimplement the method in the first aspect by performing the software codeinstructions. Optionally, the radio frequency device includes at leastone of a radio frequency chip circuit, a radio frequency front end, oran antenna. Optionally, as a service resource, the radio frequencydevice in a DSDS mode is managed by the arbitration apparatus module,and is preempted by the MODEM 1 module and the MODEM 2 module.Optionally, the apparatus further includes a memory, configured to storea preset correspondence table. Further, the memory is configured tostore the software code instructions.

According to still another aspect of the embodiments of thisapplication, a storage medium is provided. It should be noted that thetechnical solutions of this application essentially, or the partcontributing to the prior art, or all or some of the technical solutionsmay be implemented in a form of a software product. The computersoftware product is stored in the storage medium, is configured to storea computer software instruction used by the foregoing terminal,apparatus, or processor, and includes a program designed for theterminal to perform the foregoing aspects.

According to still another aspect of the embodiments of thisapplication, a computer program product including an instruction isprovided. When the computer program product runs on a computer, thecomputer is enabled to perform the method according to any one of theforegoing aspects or the optional implementations of the aspects. Thecomputer program product includes code used to form each part of theMODEM 1, the MODEM 2 and, the arbitration device in the first aspect.

The technical solutions provided in the embodiments of this applicationhave following benefits: In the embodiments of this application, byusing the foregoing technical solutions, concurrent execution andnon-concurrent execution can be flexibly switched for services on theMODEM 1 and the MODEM 2 on the terminal. This improves service resourceutilization.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is an architectural diagram of a system of a dual SIM dual activeterminal;

FIG. 2 is an architectural diagram of a system of a dual SIM dualstandby terminal;

FIG. 3 is a diagram of an application scenario to which an embodiment ofthis application is applied;

FIG. 4 is an architectural diagram of a system of an apparatus forperforming a communication service by using a plurality of modemsaccording to an embodiment of this application;

FIG. 5 is a schematic diagram of a method for performing a communicationservice by using a plurality of modems according to an embodiment ofthis application;

FIG. 6 is a schematic diagram of another method for performing acommunication service by using a plurality of modems according to anembodiment of this application;

FIG. 7 is a schematic diagram of still another method for performing acommunication service by using a plurality of modems according to anembodiment of this application; and

FIG. 8 is a schematic diagram of still yet another method for performinga communication service by using a plurality of modems according to anembodiment of this application.

DESCRIPTION OF EMBODIMENTS

The following describes the technical solutions in the embodiments ofthis application with reference to the accompanying drawings in theembodiments of this application. Certainly, the described embodimentsare merely a part rather than all of the embodiments of thisapplication. All other embodiments obtained by a person skilled in theart based on the embodiments of this application without creativeefforts shall fall within the protection scope of this application.

A main application scenario of this application is shown in FIG. 3, andmay include an access network device and a terminal.

The access network device may be an evolved NodeB (referred to as an eNBor an eNodeB for short), a macro base station, a micro base station(also referred to as a “small cell”), a picocell base station, an accesspoint (AP), a transmission point (TP), a gNodeB (new generation NodeB),or the like in a long term evolution (LTE) system, a new radio (NR)system, or an licensed-assisted access long-term evolution (LAA-LTE)system in a radio access network (RAN).

The terminal may be referred to as a terminal device (UE), a mobilestation (MS), a mobile terminal, an intelligent terminal, or the like.The terminal device may communicate with one or more core networkdevices through the radio access network. For example, the terminaldevices may be mobile phones (or referred to as “cellular” phones), orcomputers with mobile terminals. The terminal devices may alternativelybe portable, pocket-size, handheld, computer built-in, or in-vehiclemobile apparatuses, and terminal devices in a future NR network. Theterminal devices exchange voice or data with the radio access network. Adescription of the terminal device is provided as follows: In thisapplication, the terminal device may further include a relay, and adevice that can perform data communication with a base station isconsidered as a terminal device.

As shown in FIG. 4, FIG. 4 is an architectural diagram of a system of anapparatus for performing a communication service by using a plurality ofMODEMs according to an embodiment of this application. The apparatus isincluded in a terminal, and the apparatus may include one or more chips,a large quantity of integrated circuits, transistors, logic gates, orthe like. Therefore, the apparatus is an electronic device, and servesas a main body for implementing, in the terminal, a function ofperforming a communication service by using a plurality of MODEMs. Inthis embodiment of this application, as shown in FIG. 4, the dual SIMsystem may include a subscriber identity module (SIM) card 1, a SIM card2, a MODEM 1, a MODEM 2, an arbitration apparatus, a radio frequencydevice, and a memory.

The radio frequency device may include a non-millimeter-wave radiofrequency device and a millimeter-wave radio frequency device. Forexample, the non-millimeter-wave radio frequency device may be a radiofrequency device operating in a sub-6G frequency band, and thenon-millimeter-wave radio frequency device operating in a sub-6Gfrequency band may further be classified into a high-frequency radiofrequency device, a middle-frequency radio frequency device, alow-frequency radio frequency device, and the like based on differentfrequency bands in which the radio frequency device operates. Thespecific division basis and criterion may be adjusted based on an actualrequirement of a user. This is not specifically limited in thisembodiment of this application. Each radio frequency device may includeany one or a combination of a radio frequency chip circuit, a radiofrequency front end, or an antenna. Each radio frequency device in FIG.4 includes a combination of a radio frequency chip circuit, a radiofrequency front end, and an antenna, to form an entire radio frequencysystem. The radio frequency chip circuit is mainly configured toimplement a frequency mixing operation on a radio frequency signal, forexample, up-conversion used for signal transmission or down-conversionused for signal reception. The radio frequency chip circuits included ina plurality of radio frequency devices may be combined together to formone or more integrated circuits, namely, radio frequency integratedcircuits (RFIC). Each radio frequency chip circuit may further includean amplifier, a transformer, a digital-to-analog converter, ananalog-to-digital converter, and the like. This is not limited in thisembodiment. Each radio frequency front end may include a radio frequencyamplifier such as a power amplifier or a low noise amplifier, and mayfurther include various filters such as a duplexer, a band-pass filter,a band-stop filter, a high-pass filter, or a low-pass filter. Theantenna may be used as a part of the radio frequency front end or as anindependent component. For example, in FIG. 4, for thenon-millimeter-wave radio frequency device, the antenna is a componentdifferent from the radio frequency front end. However, for themillimeter-wave radio frequency device, a radio frequency front end inthe millimeter-wave radio frequency device may include a deviceintegrating an amplifier, a filter, and an antenna. In other words, theantenna is built in the radio frequency front end. It may be understoodthat a radio frequency device corresponding to each frequency band mayinclude one or more transmission paths and receiving paths. Each path isconfigured to transmit and process a signal, and may include devicesfrom an antenna to an intermediate frequency (or baseband) circuit in aMODEM in a communications system. A signal is transmitted mainly in aform of a radio frequency signal between the antenna and theintermediate frequency circuit.

The MODEM in this embodiment, commonly referred to as a “modem”, is afunctional entity used for modulation and demodulation of a radiosignal. MODEM is short for modulator and demodulator, and is configuredto modulate a to-be-transmitted digital signal for transmission on acarrier or obtain a digital signal through demodulation from a carrier.At a transmit end, the modulator converts a digital signal into a signalrecognizable to the radio frequency integrated circuit. At a receiveend, the demodulator converts a signal generated by the radio frequencyintegrated circuit into a digital signal.

A SIM card is also referred to as a subscriber identity module card or asmart card, and is configured to store content such as user information,an encrypted key, and an address book of a user. The SIM card may beused in a wireless communications network to authenticate a useridentity, and provide the key, so that the MODEM encrypts voiceinformation for the user during a call.

The arbitration apparatus is generally a function program/module or asoftware algorithm running on a processor, and may alternatively be usedas an independent hardware apparatus. The arbitration apparatus managesand allocates service resources based on input radio frequency usageinformation and service information of the modem. When the apparatus inthis embodiment is in a DSDS mode, the two MODEMs need to requestservice resources from the arbitration apparatus in a preemption manner,and then the arbitration apparatus manages and allocates a same set ofshared service resources for the two MODEMs. Only one MODEM can obtain aright to use the service resources at a time, the other modem needs towait. When the apparatus in this embodiment is in the DSDA mode, the twoMODEMs can operate concurrently, and the arbitration apparatus allocatesdifferent service resources to the two MODEMs. The service resource inthis embodiment is also referred to as a radio frequency resource,namely, the radio frequency device mentioned above. The radio frequencydevice includes but is not limited to at least one of a radio frequencychip circuit, a radio frequency front end, or an antenna. Thearbitration apparatus manages operating modes of the two MODEMs byallocating and managing the right to use the radio frequency device forthe two MODEMs, so that the DSDS mode and the DSDA mode can be switchedfrom each other for the two MODEMs.

The arbitration apparatus, the two MODEMs, the SIM card, the radiofrequency device, and the memory mentioned above may use respectivedifferent hardware apparatuses. The arbitration apparatus and the twoMODEMs may be integrated together. Alternatively, the arbitrationapparatus and the two MODEMs may be partially implemented by a softwareand run on a processor, as shown in a box in FIG. 4. The processor runsa software code program or an instruction to form the arbitrationapparatus and the two MODEMs. In this case, the arbitration apparatusand the two MODEMs are different software modules. The processor is acontrol center of the communications apparatus in the terminal, andconnects all parts of the entire apparatus or terminal by using variousinterfaces and lines. The processor performs various functions of theterminal and processes data by running or performing a software programand/or a module stored in the memory and invoking data stored in thememory, to perform overall monitoring on the terminal. The processor mayinclude one or more chips. In this embodiment, the RFIC may beintegrated with the processor to serve as a complete chip.Alternatively, the RFIC is an independent chip or a plurality of chips.The memory is usually a device located outside the processor.

Optionally, the processor may include one or more processing units.Optionally, an application processor and a modem processor may beintegrated into the processor. The modem processor and a part of aperipheral circuit may be combined to form the MODEM mentioned above.The application processor mainly processes an operating system, a userinterface, an application program, and the like. The modem processormainly processes wireless communication. It may be understood that themodem processor may alternatively not be integrated into the processor.

With reference to FIG. 4, the arbitration apparatus in FIG. 4 and eachMODEM each may be an independent hardware device, and each perform arespective function. Alternatively, the arbitration apparatus and eachMODEM may be software modules running on the processor, that is, existin a form of software code. Alternatively, the arbitration apparatus andeach MODEM may be implemented by a combination of software and hardware.The software is a functional module formed by software code run by theprocessor, and the hardware is a dedicated hardware circuit, includingbut not limited to a dedicated integrated circuit, a logic gate, analgorithm circuit, or an FPGA (field programmable gate array) circuit.

The memory may be configured to store a software program and a module.The processor performs various functions and applications of theterminal and processes data by running the software program and themodule stored in the memory. The memory may mainly include a programstorage area and a data storage area. The foregoing storage areas eachmay correspond to one or more respective memories. In other words, theremay be a plurality of memories. One memory may contain a plurality ofmemories, and the memories may store different content. The programstorage area may store an operating system, an application programrequired by at least one function (for example, a voice playing functionand an image playing function), and the like. The data storage area maystore data (for example, audio data and an address book) and the likecreated based on use of a mobile phone. In addition, the memory mayinclude at least one of a high-speed random access memory, a read-onlymemory, or a volatile memory, and may alternatively include anon-volatile memory, for example, include at least one magnetic diskstorage device, a flash memory device, or another volatile solid-statestorage device.

It may be understood that, the MODEM 1, the MODEM 2, and the arbitrationapparatus may be integrated in one processor for implementation, or eachmay be implemented as a single processor to separately performrespective software code, instead of being separately stored indifferent memories. When the foregoing MODEM 1, MODEM 2, and arbitrationapparatus are implemented by using software code, main functions of theapparatus in this embodiment may be considered to be implemented byusing software.

In this embodiment of this application, a non-millimeter-wave frequencyband radio frequency front end and a millimeter-wave frequency bandradio frequency front end are independent of each other. The MODEM 1supports a global system for mobile communications (GSM), a universalmobile telecommunications system (UMTS), long term evolution (LTE), anda NR access standard that used for a millimeter-wave frequency band. TheMODEM 2 supports the GSM, the UMTS, and the LTE access standard, butdoes not support the millimeter-wave frequency band.

Optionally, types of access standards supported by each MODEM may beextended or lessened. The MODEM 1 supports the NR, and the MODEM 2 doesnot support the NR. In other words, in this embodiment, the NR accessstandard is supported only by one MODEM, and the other MODEM operatesonly in a non-millimeter-wave operating band. The NR access standard maysupport operating in a non-millimeter-wave operating band and amillimeter-wave frequency band.

The following may further describe the technical solutions of thisapplication by using embodiments. An example in which a concurrentoperating mode is the DSDA mode and a non-concurrent operating mode isthe DSDS mode is used for description. The concurrent operating modemeans that services of a plurality of MODEMs can be performed at thesame time. The non-concurrent operating mode means that the services ofthe plurality of MODEMs are performed by preempting a service resource,that is, the services of the plurality of MODEMs cannot be performed atthe same time.

1. A DSDA Mode is Switched to a DSDS Mode for Services on Two SIMS.

FIG. 5 is a schematic diagram of a method for performing a communicationservice by using a plurality of modems according to an embodiment ofthis application. 501: A first modem MODEM 1 performs a voice service ina millimeter-wave frequency band, that is, occupies a radio frequencydevice, namely, a service resource, corresponding to the millimeter-wavefrequency band. For example, before the MODEM 1 performs the voiceservice in the millimeter-wave frequency band, the MODEM 1 receives avoice service request. For example, the MODEM 1 generates the voiceservice request in response to an operation of a user, or the MODEM 1receives the voice service request sent by a software program or thelike. Then, the MODEM 1 sends a voice service resource request to anarbitration apparatus based on the voice service request, where thevoice service resource request carries information about themillimeter-wave frequency band. The arbitration apparatus determines,based on the information about the millimeter-wave frequency band andaccording to a preset correspondence table, that the information aboutthe millimeter-wave frequency band does not conflict with informationabout a frequency band corresponding to another communication service ona terminal. In this case, the arbitration apparatus returns a firstacknowledgment response to the MODEM 1. The MODEM 1 establishes thevoice service based on the first acknowledgment response.

It should be noted that, that the MODEM 1 performs a first communicationservice on the millimeter-wave frequency band may be understood as thatthe MODEM 1 camps on the millimeter-wave frequency band, and may be intwo statuses: waiting to process the voice service (waiting to send orreceive a voice signal) and transmitting the voice service (sending orreceiving a voice signal). Execution of the communication service inoperation 501 is performing transmission and reception, namely, voicesending and receiving. Optionally, when the arbitration apparatusreceives the voice service resource request, if the arbitrationapparatus determines that there is no communication service beingperformed, the arbitration apparatus may also return a firstacknowledgment response to the MODEM 1. The preset correspondence tableis used to indicate a frequency band conflict status between the MODEM 1and a MODEM 2. The frequency band conflict status includes: at least oneof conflict frequency band information or non-conflict frequency bandinformation of the MODEM 1 and the MODEM 2.

502: The second modem MODEM 2 performs a data service in a highfrequency band, that is, occupies a radio frequency device, namely, aservice resource, corresponding to the high frequency band. The MODEM 1and the MODEM 2 are in a DSDA mode. For example, before the MODEM 2performs the data service in the high frequency band, the MODEM 2receives a data service request. For example, the MODEM 2 generates thedata service request in response to an operation of the user, or theMODEM 2 receives the data service request sent by a software program orthe like. Then, the MODEM 2 sends a data service resource request to thearbitration apparatus based on the data service request, where the dataservice resource request carries information about the high frequencyband. The arbitration apparatus determines, based on the informationabout the high frequency band and according to the preset correspondencetable, that the information about the high frequency band does notconflict with information about a frequency band corresponding toanother communication service on the terminal. In this case, thearbitration apparatus returns a second acknowledgment response to theMODEM 2. The MODEM 2 establishes the data service based on the secondacknowledgment response.

It should be noted that, that the MODEM 2 performs a secondcommunication service in the high frequency band may be understood asthat the MODEM 2 camps on the high frequency band, and is in twostatuses: waiting to send or receive data, and sending or receivingdata. Execution of the communication service in operation 502 is aboutsending or receiving data. In other words, the MODEM 2 and the MODEM 1perform execution concurrently. Optionally, when the arbitrationapparatus receives the data service resource request, if the arbitrationapparatus determines that there is no communication service beingperformed, the arbitration apparatus may also return a secondacknowledgment response to the MODEM 2.

It may be understood that, that the MODEM performs the communicationservice may be directly sending or receiving data information, controlinformation, or the like, and may alternatively be in a standby state,for example, waiting for sending or receiving data. Therefore, theexecution of the communication service in this embodiment includes twocases: sending and receiving a service, and waiting to send and receivea service. When execution of the two communication services is aboutsending and receiving, the MODEM 1 and the MODEM 2 enter a concurrentstate. If execution of at least one communication service is waiting,the MODEM 1 and the MODEM 2 enter a non-concurrent state. Operation 501and operation 502 are not limited to a time sequence.

If the frequency band corresponding to the MODEM 1 is a millimeter-wavefrequency band, and the millimeter-wave frequency band corresponding tothe MODEM 1 does not conflict with a non-millimeter-wave frequency bandcorresponding to the MODEM 2. In this way, it can be ensured thatcommunication services on the MODEM 1 and the MODEM 2 are performedconcurrently. This effectively utilizes service resources and improvesuser experience. In this embodiment and subsequent embodiments, oneMODEM performs a communication service in two statuses, that is, waitingto send or receive a service, and send or receive a service. Therefore,when two MODEMs perform respective communication services, if the twoMODEMs both perform transmission and reception, the two MODEMs are in aconcurrent operating mode. On the contrary, if only one of the twoMODEMs performs transmission and reception, and the other MODEM iswaiting for sending and receiving. Alternatively, both the MODEMs arewaiting for sending and receiving, the two MODEMs are in anon-concurrent operating mode, that is, the two MODEMs are not in astatus of performing service sending and receiving at the same time.

503: When the terminal moves, the MODEM 1 of the terminal sends a MODEM1 measurement report to a base station. For example, when using theterminal, the user may move, and the MODEM 1 of the terminal sends theMODEM 1 measurement report to the base station. It should be noted thatthe MODEM 2 of the terminal may also send a MODEM 2 measurement reportto the base station. Herein, that the MODEM 1 sends the MODEM 1measurement report to the base station is used as an example fordescription.

504: The MODEM 1 receives, from the base station, a switchinginstruction for the voice service, where the switching instruction isused to instruct the MODEM 1 to switch from the millimeter-wavefrequency band to a high frequency band. For example, the base stationsends the switching instruction for the voice service to the MODEM 1based on the MODEM 1 measurement report. The switching instruction isused to instruct the MODEM 1 to switch from the millimeter-wavefrequency band to a high frequency band. In other words, the switchinginstruction is used to instruct the MODEM 1 to switch from an originalcell to a target cell.

505: The MODEM 1 indicates to the arbitration apparatus that the MODEM 1needs to be switched to a high frequency band. For example, the MODEM 1may send an indication message to the arbitration apparatus, where theindication message may indicate that the MODEM 1 needs to be switched toa high frequency band. Actually, operating frequency bands of each MODEMhave a different possible combination. In this embodiment, that theMODEM 1 is switched from the millimeter-wave frequency band to a highfrequency band is merely used as an example for description, but notused for limitation.

506: The arbitration apparatus determines whether the high frequencyband corresponding to the MODEM 1 conflicts with the high frequency bandcorresponding to the MODEM 2. The arbitration apparatus or the memorystores the preset correspondence table, where the preset correspondencetable is used to indicate a frequency band conflict status between theMODEM 1 and the MODEM 2. The frequency band conflict status includes: atleast one of conflict frequency band information or non-conflictfrequency band information of the MODEM 1 and the MODEM 2.

For example, it can be learned from FIG. 4 that if the NR accessstandard supported by the MODEM 1 supports operating in amillimeter-wave frequency band, and a service of the MODEM 2 operates ina non-millimeter-wave frequency band, no conflict occurs when servicesof the two SIMs use service resources. In this case, the services can beperformed concurrently. In addition, if the MODEM 1 operates in a highfrequency band, and the MODEM 2 operates in a middle frequency or a lowfrequency, no conflict occurs when the services of the two SIMs useradio frequency front ends. In this case, the services can be performedconcurrently. Therefore, a preset correspondence table, for example, atable of frequency bands that do not conflict and that are correspondingto the two MODEMs, as shown in Table 1 below, may be pre-established onthe arbitration apparatus.

TABLE 1 Whether radio frequency MODEM 1 MODEM 2 front ends conflictMillimeter-wave frequency High frequency band Frequency bands that donot band conflict Millimeter-wave frequency Middle frequency bandFrequency bands that do not band conflict Frequency bands that do notLow frequency band Frequency bands that do not conflict conflict Highfrequency band Middle frequency band Frequency bands that do notconflict High frequency band Low frequency band Frequency bands that donot conflict Middle frequency band High frequency band Frequency bandsthat do not conflict Middle frequency band Low frequency band Frequencybands that do not conflict Low frequency band High frequency bandFrequency bands that do not conflict Low frequency band Middle frequencyband Frequency bands that do not conflict

For example, low frequency bands may include frequency bands (BAND): B5,B8, . . . (sub-1 G frequency bands); middle frequency bands may includeBANDs: B1, B2, . . . (1 G to 2 G frequency bands); high frequency bandsmay include BANDs: B40, B41, . . . (2 G to 6 G frequency bands); andmillimeter-wave corresponds to BANDs above 6 G. The foregoingcorrespondences between frequency bands may be configured by using a(non-volatile (NV)) entry in a configuration file. Configurations varyaccording to types of radio frequency front end modules of differentproducts. The file shown in Table 1 is stored in a memory, and may beaccessed by the arbitration apparatus.

In the foregoing example, the table of frequency bands that do notconflict indicates frequency bands that do not conflict and that arecorresponding to different MODEMs. Optionally, the arbitration apparatusmay also establish a table of frequency bands that conflict, that is,indicate frequency bands that conflict and that are corresponding to thetwo MODEMs. Alternatively, the arbitration apparatus may also establisha complete table including the table of frequency bands that conflictand the table of frequency bands that do not conflict, that is, indicatefrequency bands that do not conflict and frequency bands that conflict.This is not specifically limited herein.

507: If a conflict occurs, the arbitration apparatus determines toswitch from the DSDA mode to the DSDS mode. The arbitration apparatusdetermines, according to Table 1, namely, the table of frequency bandsthat do not conflict, that the high frequency band corresponding to theMODEM 1 conflicts with the high frequency band corresponding to theMODEM 2.

508: The arbitration apparatus initiates a preemption request to theMODEM 2. For example, the arbitration apparatus initiates the preemptionrequest based on a priority of the voice service performed on MODEM 1and a priority of the data service performed on MODEM 2. The MODEM 1performs the voice service, and the MODEM 2 performs the data service,and the priority of the voice service is higher than the priority of thedata service. Therefore, the arbitration apparatus initiates thepreemption request to the MODEM 2 instead of the MODEM 1.

509: The MODEM 2 releases a data service resource. In other words, theMODEM 2 no longer occupies the radio frequency device.

510: The MODEM 2 sends a preemption acknowledgment message to thearbitration apparatus. After locally releasing the data service resourceand stopping using the radio frequency device, the MODEM 2 returns thepreemption acknowledgment message to the arbitration apparatus.

511: The arbitration apparatus sends a frequency band updateacknowledgment message to the MODEM 1. In other words, in thisoperation, the terminal switches from the DSDA mode to the DSDS mode, sothat the service resource is preempted by the MODEM 1.

512: The MODEM 1 performs, based on the frequency band updateacknowledgment message, transmission and reception. After receiving thefrequency band update acknowledgment message, the MODEM 1 initiates anaccess and synchronization process in the target cell corresponding tothe high frequency band. After the access and synchronization aresuccessful, the MODEM 1 performs transmission and reception with anetwork by using the occupied radio frequency device, namely, theservice resource.

In this embodiment of this application, when the MODEM 1 and the MODEM 2are in the DSDA mode, the arbitration apparatus stores a correspondencetable of capability configuration of radio frequency devices. Thecorrespondence table may include at least one of the table of frequencybands that do not conflict and that are corresponding to the two MODEMsor the table of frequency bands that conflict and that are correspondingto the two MODEMs. The arbitration apparatus determines, according tothe configured correspondence table, whether service resources used forthe services on the two SIMs conflict. If the service resources used forthe services on the two SIMS conflict, the arbitration apparatus mayswitch from the DSDA mode to the DSDS mode. This effectively utilizesthe service resources.

2. A DSDA Mode is Maintained for Services on Two SIMs.

FIG. 6 is a schematic diagram of a method for performing a communicationservice by using a plurality of modems according to an embodiment ofthis application. 601: A first modem MODEM 1 performs a voice service ina millimeter-wave frequency band. 602: A second modem MODEM 2 performs adata service in a high frequency band. The MODEM 1 and the MODEM 2 arein the DSDA mode. 603: When a terminal moves, the MODEM 1 of theterminal sends a MODEM 1 measurement report to a base station. It shouldbe noted that operations 601 to 603 are similar to operations 501 to 503shown in FIG. 5. Details are not described herein again.

604: The MODEM 1 receives, from the base station, a switchinginstruction for a voice service, where the switching instruction is usedto instruct the MODEM 1 to switch from the millimeter-wave frequencyband to a low frequency band. For example, the base station sends theswitching instruction for the voice service to the MODEM 1 based on theMODEM 1 measurement report. The switching instruction is used toinstruct the MODEM 1 to switch from the millimeter-wave frequency bandto a low frequency band. In other words, the switching instruction isused to instruct the MODEM 1 to switch from an original cell to a targetcell.

605: The MODEM 1 indicates to the arbitration apparatus that the MODEM 1needs to be switched to a low frequency band. For example, the MODEM 1may send an indication message to the arbitration apparatus, where theindication message may indicate that the MODEM 1 needs to be switched toa low frequency band.

606: The arbitration apparatus determines whether a low frequency bandcorresponding to the MODEM 1 conflicts with the high frequency bandcorresponding to the MODEM 2. The arbitration apparatus determines,according to a preset correspondence table, whether the low frequencyband corresponding to the MODEM 1 conflicts with the high frequency bandcorresponding to the MODEM 2. The preset correspondence table isdescribed in operation 506 shown in FIG. 5. Details are not describedherein again.

607: If no conflict occurs, the arbitration apparatus maintains the DSDAmode. If the arbitration apparatus determines that the low frequencyband corresponding to the MODEM 1 does not conflict with the highfrequency band corresponding to the MODEM 2, it indicates that the voiceservice on the MODEM 1 and the data service on the MODEM 2 can beperformed concurrently. Then, the arbitration apparatus maintains theDSDA mode. In this case, the MODEM 1 operates in a low frequency band,and occupies a service resource corresponding to the low frequency band.The MODEM 2 operates in a high frequency band, and occupies a serviceresource corresponding to the high frequency band.

608: The arbitration apparatus sends a frequency band updateacknowledgment message to the MODEM 1. In other words, the MODEM 1 isindicated to operate in a low frequency band.

609: The MODEM 1 performs, based on the frequency band updateacknowledgment message, transmission and reception. After receiving thefrequency band update acknowledgment message, the MODEM 1 initiates anaccess and synchronization process in the target cell corresponding tothe low frequency band. After the access and synchronization aresuccessful, the MODEM 1 performs transmission and reception with anetwork by using an occupied radio frequency device, namely, the serviceresource.

In this embodiment of this application, when the MODEM 1 and the MODEM 2are in the DSDA mode, the arbitration apparatus stores a correspondencetable of capability configuration of radio frequency devices. Thecorrespondence table may include at least one of a table of frequencybands that do not conflict and that are corresponding to the two MODEMsor a table of frequency bands that conflict and that are correspondingto the two MODEMs. The arbitration apparatus determines, according tothe configured correspondence table, whether service resources used forthe services on the two SIMs conflict. If the service resources used forthe services on the two SIMs do not conflict, the arbitration apparatusmay maintain the DSDA mode. This ensures normal execution of theservices on the two SIMs, and effectively utilizes the serviceresources.

3. A DSDS Mode is Switched to a DSDA Mode for Services on Two SIMS.

FIG. 7 is a schematic diagram of a method for performing a communicationservice by using a plurality of modems according to an embodiment ofthis application. 701: A first modem MODEM 1 performs a voice service ina high frequency band. In this case, the MODEM 1 performs acommunication service through transmission and reception in the highfrequency band, and occupies a service resource corresponding to thehigh frequency band.

702: A second modem MODEM 2 performs a data service in a high frequencyband. The MODEM 1 and the MODEM 2 are in the DSDS mode. For example,before the MODEM 2 performs the data service in the high frequency band,the MODEM 2 receives a data service request. For example, the MODEM 2generates the data service request in response to an operation of theuser, or the MODEM 2 receives the data service request sent by asoftware program or the like. Then, the MODEM 2 sends a data serviceresource request to an arbitration apparatus based on the data servicerequest, where the data service resource request carries informationabout the high frequency band. The arbitration apparatus determines,based on the information about the high frequency band and according toa preset correspondence table, that the information about the highfrequency band conflicts with information about a frequency bandcorresponding to another communication service on a terminal. In thiscase, the arbitration apparatus may initiate a preemption request basedon priorities of services on the MODEM 1 and the MODEM 2. Because apriority of the voice service is higher than a priority of the dataservice, the arbitration apparatus releases a service resource of theMODEM 2, to ensure that the voice service on the MODEM 1 is performednormally. In this case, that the MODEM 2 performs the communicationservice is to wait for communication rather than perform sending andreceiving. Therefore, the MODEM 2 does not occupy any service resource.

703: When the terminal moves, the MODEM 2 of the terminal sends a MODEM2 measurement report to a base station. For example, when using theterminal, the user may move, and the MODEM 2 sends the MODEM 2measurement report to the base station. It should be noted that theMODEM 1 of the terminal may also send a MODEM 1 measurement report tothe base station. Herein, that the MODEM 2 sends the MODEM 2 measurementreport to the base station is used as an example for description.

704: The MODEM 2 receives, from the base station, a switchinginstruction for the data service, where the switching instruction isused to instruct the MODEM 2 to switch from the high frequency band to amiddle frequency band. For example, the base station sends the switchinginstruction for the data service to the MODEM 2 based on the MODEM 2measurement report. The switching instruction is used to instruct theMODEM 2 to switch from the high frequency band to a middle frequencyband. In other words, the switching instruction is used to instruct theMODEM 2 to switch from an original cell to a target cell.

705: The MODEM 2 indicates to the arbitration apparatus that the MODEM 2needs to be switched to a middle frequency band. For example, the MODEM2 may send an indication message to the arbitration apparatus, where theindication message may indicate that the MODEM 2 needs to be switched toa middle frequency band.

706: The arbitration apparatus determines whether the high frequencyband corresponding to the MODEM 1 conflicts with the middle frequencyband corresponding to the MODEM 2. The arbitration apparatus determines,according to the preset correspondence table, whether the high frequencyband corresponding to the MODEM 1 conflict with the middle frequencyband corresponding to the MODEM 2. The preset correspondence table isdescribed in operation 506 shown in FIG. 5. Details are not describedherein again.

707: If no conflict occurs, the arbitration apparatus switches from theDSDS mode to the DSDA mode. If the arbitration apparatus determines thatthe high frequency band corresponding to the MODEM 1 does not conflictwith the middle frequency band corresponding to the MODEM 2, itindicates that the voice service on the MODEM 1 and the data service onthe MODEM 2 can be performed concurrently. Then, the arbitrationapparatus may switch from the DSDS mode to the DSDA mode. In this case,the arbitration apparatus may allocate, to the MODEM 2, a serviceresource corresponding to the middle frequency band. The MODEM 1continues to use the service resource corresponding to the highfrequency band. In this way, the two MODEMs can implement concurrenttransmission.

708: The arbitration apparatus sends a frequency band updateacknowledgment message to the MODEM 2. In other words, the MODEM 2 isindicated to operate in a middle frequency band.

709: The MODEM 2 performs, based on the frequency band updateacknowledgment message, transmission and reception. After receiving thefrequency band update acknowledgment message, the MODEM 2 initiates anaccess and synchronization process in the target cell corresponding tothe middle frequency band. After the access and synchronization aresuccessful, the MODEM 2 performs transmission and reception with anetwork by using an occupied radio frequency device, namely, the serviceresource.

In this embodiment of this application, when the MODEM 1 and the MODEM 2are in the DSDS mode, the arbitration apparatus stores a correspondencetable of capability configuration of radio frequency devices. Thecorrespondence table may include at least one of a table of frequencybands that do not conflict and that are corresponding to the two MODEMsor a table of frequency bands that conflict and that are correspondingto the two MODEMs. The arbitration apparatus determines, according tothe configured correspondence table, whether service resources used forthe services on the two SIMs conflict. If the service resources used forthe services on the two SIMs do not conflict, the arbitration apparatusmay switch from the DSDS mode to the DSDA mode. This ensures normalexecution of the services on the two SIMS, and effectively utilizes theservice resources.

4. A DSDS Mode is Maintained for Services on Two SIMS.

FIG. 8 is a schematic diagram of a method for performing a communicationservice by using a plurality of modems according to an embodiment ofthis application. 801: A first modem MODEM 1 performs a voice service ina high frequency band. 802: A second modem MODEM 2 performs a dataservice in a high frequency band. The MODEM 1 and the MODEM 2 are in theDSDS mode. 803: When the terminal moves, the MODEM 2 of a terminal sendsa MODEM 2 measurement report to a base station. It should be noted thatoperations 801 to 803 are similar to operations 701 to 703 shown in FIG.7. Details are not described herein again.

804: The MODEM 2 receives, from the base station, a switchinginstruction for the data service, where the switching instruction isused to instruct the MODEM 2 to switch from the high frequency band toanother high frequency band. For example, the base station sends theswitching instruction for the data service to the MODEM 2 based on theMODEM 2 measurement report. The switching instruction is used toinstruct the MODEM 2 to switch from the high frequency band to anotherhigh frequency band. In other words, although a cell handover occurs,carriers corresponding to an original cell from which the handover isperformed and a target cell to which the handover is performed are bothin the high frequency band.

805: The MODEM 2 indicates to the arbitration apparatus that the MODEM 2needs to be switched to another high frequency band. For example, theMODEM 2 may send an indication message to the arbitration apparatus,where the indication message may indicate that the MODEM 2 needs to beswitched to a high frequency band.

806: The arbitration apparatus determines whether the high frequencyband corresponding to the MODEM 1 conflicts with the high frequency bandcorresponding to the MODEM 2. The arbitration apparatus determines,according to a preset correspondence table, whether the high frequencyband corresponding to the MODEM 1 conflict with the high frequency bandcorresponding to the MODEM 2. The preset correspondence table isdescribed in operation 506 shown in FIG. 5. Details are not describedherein again.

807: If a conflict occurs, the arbitration apparatus maintains the DSDSmode. If the arbitration apparatus determines that the high frequencyband corresponding to the MODEM 1 conflicts with the high frequency bandof the MODEM 2, it indicates that the voice service on the MODEM 1 andthe data service on the MODEM 2 cannot be performed concurrently. Then,the arbitration apparatus continues to maintain the DSDS mode. The MODEM1 performs the voice service, and the MODEM 2 performs the data service,and the priority of the voice service is higher than the priority of thedata service. Therefore, the arbitration apparatus ensures that thevoice service is normally performed on the MODEM 1.

808: The arbitration apparatus sends a reject message to the MODEM 2. Inthis case, the arbitration apparatus rejects a resource request of theMODEM 2. In other words, the MODEM 2 still cannot use a service resourcecorresponding to the high frequency band. Therefore, the MODEM 2 isstill in a status of waiting for sending and receiving and does notoccupy a service resource. In this way, the DSDS mode is maintained.

In this embodiment of this application, when the MODEM 1 and the MODEM 2are in the DSDS mode, the arbitration apparatus stores a correspondencetable of capability configuration of radio frequency devices. Thecorrespondence table may include at least one of a table of frequencybands that do not conflict and that are corresponding to the two MODEMsor a table of frequency bands that conflict and that are correspondingto the two MODEMs. The arbitration apparatus determines, according tothe configured correspondence table, whether service resources used forthe services on the two SIMs conflict. If the service resources used forthe services on the two SIMs conflict, the arbitration apparatus maymaintain the DSDS mode. This effectively utilizes the service resources.

In this embodiment of this application, the arbitration apparatusdetermines, based on current frequency bands in which the two MODEMsperform respective services, whether the two MODEMs currently operate ina DSDA mode or the DSDS mode, and performs switching flexibly. Thisimproves utilization of service resources. It is assumed that the voiceservice of the MODEM 1 operates in a millimeter-wave frequency band, andthe MODEM 2 needs to initiate a data service in a high frequency band.In this case, the arbitration apparatus determines that radio frequencyfront ends for the services on the two SIMS do not conflict with eachother, and the voice service of the MODEM 1 and the data service of theMODEM 2 can be performed concurrently, that is, the dual SIM dual activemode. As the terminal moves, if the MODEM 1 is switched from themillimeter-wave frequency band to a high frequency band innon-millimeter-wave frequency bands to perform the voice service, thearbitration apparatus performs service preemption processing based onpriorities of the services on the two SIMs. In this case, thearbitration apparatus switches from the dual SIM dual active mode to thedual SIM dual standby mode. In a DSDA and DSDS dynamic hybrid mode, thearbitration apparatus stores the correspondence table of the capabilityconfiguration of the radio frequency devices. The correspondence tablemay include at least one of the table of frequency bands that do notconflict and that are corresponding to the two MODEMs and the table offrequency bands that conflict and that are corresponding to the twoMODEMs. The arbitration apparatus determines, according to theconfigured correspondence table, whether the radio frequency front endsused for the services on the two SIMs conflict, and determines,according to a conflict status, that the two SIMs enter the DSDA mode orthe DSDS mode. This effectively utilizes the service resources.

It should be noted that the foregoing embodiment is described by usingan example in which the MODEM 1 and the MODEM 2 respectively correspondto different SIM cards. However, in practice, a case in which one SIMcard is used by a plurality of users is also applicable to a scenario ofthis embodiment of the present invention. For example, a user 1 and auser 2 using a SIM card may suffer service resource preemption mentionedabove. Therefore, according to the corresponding solution, that the twoMODEMs concurrently perform services, that is, perform at the same time,can be changed to that the two MODEMs cannot perform services at thesame time. In this way, service resource preemption is implemented.Alternatively, reverse switching is implemented. Therefore, theforegoing embodiment is applicable to any application scenario in whichthat the two MODEMs concurrently perform services is changed to that thetwo MODEMs preempt service resources, to implement service execution byone of the MODEMs or reverse switching. For example, the applicationscenario includes switching between SGLTE (simultaneous GSM and LTE) andGSM or an LTE single mode, or switching between SVD (simultaneous voiceand data) and a CDMA single mode. The embodiments of this applicationmay also be applied to a multi-SIM terminal including a physical SIM anda virtual SIM.

In the foregoing embodiments, all or some of the modules shown in FIG. 4may be implemented by software, hardware, firmware, or any combinationthereof. When software is used to implement the embodiments, all or someof the embodiments may be implemented in a form of computer programproduct. The computer program product includes one or more computerinstructions. When the computer program instructions are loaded andexecuted on a computer, the procedures or the functions according to theembodiments of this application completely or partially generated. Thecomputer may be a general-purpose computer, a special-purpose computer,a computer network, or another programmable apparatus. The computerinstructions may be stored in a computer-readable storage medium or maybe transmitted from one computer-readable storage medium to anothercomputer-readable storage medium. For example, the computer instructionsmay be transmitted from one website, computer, server, or data center toanother website, computer, server, or data center in a wired (forexample, a coaxial cable, an optical fiber, or a digital subscriber line(DSL)) or wireless (for example, infrared, radio, or microwave) manner.The computer-readable storage medium may be any usable medium accessibleby a computer, or a data storage device, such as a server or a datacenter, integrating one or more usable media. The usable medium may be amagnetic medium (for example, a floppy disk, a hard disk, or a magnetictape), an optical medium (for example, a DVD), a semiconductor medium(for example, a solid-state drive (SSD)), or the like.

In the specification, claims, and accompanying drawings of thisapplication, the terms “first”, “second”, “third”, “fourth”, and so on(if exist) are intended to distinguish between similar objects but donot necessarily indicate a specific order or sequence. It should beunderstood that the data used in such a way are interchangeable inproper circumstances so that the embodiments described herein may beimplemented in other orders than the order illustrated or describedherein. Moreover, the terms “include”, “have” and any other variantsmean to cover the non-exclusive inclusion, for example, a process,method, system, product, or device that includes a list of operations orunits is not necessarily limited to those expressively listed units, butmay include other units not expressly listed or inherent to such aprocess, method, system, product, or device.

The invention claimed is:
 1. A method for performing a communicationservice by using a plurality of modems, comprising: receiving, by anarbitration apparatus from a first modem performing a firstcommunication service in a first frequency band, an indication that thefirst modem is to be switched from the first frequency band to a thirdfrequency band, wherein the first modem sends the indication to thearbitration apparatus after receiving a switching instruction from anaccess network device, the switching instruction instructing the firstmodem to switch from the first frequency band to the third frequencyband; determining, by the arbitration apparatus, whether the thirdfrequency band conflicts with a second frequency band, to obtain adetermining result, wherein the second frequency band is used by asecond modem to perform a second communication service, wherein thefirst modem and the second modem are in a first operating mode; andperforming, by the arbitration apparatus, one of the followingoperations based on the determining result: maintaining the firstoperating mode, or switching the first operating mode to a secondoperating mode for the first modem and the second modem, wherein one ofthe first operating mode and the second operating mode is a concurrentoperating mode, and the other mode is a non-concurrent operating mode.2. The method according to claim 1, wherein the first operating mode isthe concurrent operating mode, the second operating mode is thenon-concurrent operating mode, and the performing, by the arbitrationapparatus, one of the following operations comprises: when thedetermining result is that the third frequency band does not conflictwith the second frequency band, maintaining, by the arbitrationapparatus, the first operating mode.
 3. The method according to claim 2,wherein the performing, by the arbitration apparatus, one of thefollowing operations further comprises: when the determining result isthat the third frequency band conflicts with the second frequency band,switching, by the arbitration apparatus, the first operating mode to thesecond operating mode for the first modem and the second modem.
 4. Themethod according to claim 1, wherein the first operating mode is thenon-concurrent operating mode, the second operating mode is theconcurrent operating mode, and the performing, by the arbitrationapparatus, one of the following operations comprises: when thedetermining result is that the third frequency band does not conflictwith the second frequency band, switching, by the arbitration apparatus,the first operating mode to the second operating mode for the firstmodem and the second modem.
 5. The method according to claim 4, whereinthe performing, by the arbitration apparatus, one of the followingoperations further comprises: when the determining result is that thethird frequency band conflicts with the second frequency band,maintaining, by the arbitration apparatus, the first operating mode. 6.The method according to claim 1, wherein the determining whether thethird frequency band conflicts with the second frequency band comprises:determining whether the third frequency band conflicts with the secondfrequency band according to a preset correspondence table, wherein thepreset correspondence table is used to indicate a frequency bandconflict status between the first modem and the second modem.
 7. Themethod according to claim 6, wherein the frequency band conflict statuscomprises: at least one of conflict frequency band information ornon-conflict frequency band information of the first modem and thesecond modem.
 8. The method according to claim 1, wherein the firstmodem and the second modem in the concurrent operating mode userespective radio frequency devices.
 9. The method according to claim 8,wherein one of the first modem and the second modem uses amillimeter-wave radio frequency device, and the other modem uses anon-millimeter-wave radio frequency device.
 10. The method according toclaim 1, wherein the first modem and the second modem in thenon-concurrent operating mode use a same radio frequency device in apreemption manner.
 11. An apparatus for performing a communicationservice by using a plurality of modems, comprising: a first modem, asecond modem, and an arbitration apparatus, wherein the first modem isto: perform a first communication service in a first frequency band;receive, from an access network device, a switching instruction for thefirst communication service, wherein the switching instruction is usedto instruct the first modem to switch from the first frequency band to athird frequency band; and indicate to the arbitration apparatus that thefirst modem needs to be switched to the third frequency band; the secondmodem is to perform a second communication service in a second frequencyband, wherein the first modem and the second modem are in a firstoperating mode; and the arbitration apparatus is to: determine whetherthe third frequency band conflicts with the second frequency band, toobtain a determining result; and perform one of following operationsbased on the determining result: maintaining the first operating mode,or switching the first operating mode to a second operating mode for thefirst modem and the second modem; wherein one of the first operatingmode and the second operating mode is a concurrent operating mode, andthe other mode is a non-concurrent operating mode.
 12. The apparatusaccording to claim 11, wherein the first operating mode is theconcurrent operating mode, the second operating mode is thenon-concurrent operating mode, and the arbitration apparatus is to: whenthe determining result is that the third frequency band does notconflict with the second frequency band, maintain the first operatingmode.
 13. The apparatus according to claim 12, wherein the arbitrationapparatus is further to: when the determining result is that the thirdfrequency band conflicts with the second frequency band, switch thefirst operating mode to the second operating mode for the first modemand the second modem.
 14. The apparatus according to claim 11, whereinthe first operating mode is the non-concurrent operating mode, thesecond operating mode is the concurrent operating mode, and thearbitration apparatus is to: when the determining result is that thethird frequency band does not conflict with the second frequency band,switch the first operating mode to the second operating mode for thefirst modem and the second modem.
 15. The apparatus according to claim14, wherein the arbitration apparatus is further to: when thedetermining result is that the third frequency band conflicts with thesecond frequency band, maintain the first operating mode.
 16. Theapparatus according to claim 11, wherein the apparatus further comprisesa memory, wherein the memory is to store a correspondence table, whereinthe correspondence table is used to indicate a frequency band conflictstatus between the first modem and the second modem; and the arbitrationapparatus is to determine whether the third frequency band conflictswith the second frequency band according to the correspondence table.17. The apparatus according to claim 16, wherein the frequency bandconflict status comprises: at least one of conflict frequency bandinformation or non-conflict frequency band information of the firstmodem and the second modem.
 18. The apparatus according to claim 11,wherein the first modem and the second modem in the concurrent operatingmode use respective radio frequency devices.
 19. The apparatus accordingto claim 18, wherein one of the first modem and the second modem uses amillimeter-wave radio frequency device, and the other modem uses anon-millimeter-wave radio frequency device.
 20. The apparatus accordingto claim 11, wherein the first modem and the second modem in theconcurrent operating mode use a same radio frequency device in apreemption manner.